﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="rankingResultsCriteria.aspx.cs" Inherits="rankingResultsCriteria" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="tr" />
    <link rel="stylesheet" type="text/css" href="/c/vk.css" />
    <script src="/s/common.js" type="text/javascript"></script>
    <script src="/s/serverRequest.js" type="text/javascript"></script>
    <title>Liste</title>
    <base target="pano" />
</head>

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" onload="removeQVNSpecificOptionsIfQVO();">

<form method="POST" action="rankingResults.aspx" target="pano" name="30_PRP301.asp"  >

    <table CLASS="table20" border="0" cellpadding="0" cellspacing="1"  width="100%" style="border-width:1px; border-collapse: collapse" bordercolor="#FFFFFF" >
	    <tr>
		    <td class="t_head" align="center" height="19" colspan="7" style="background-color: #336699"> 
		    <font color="#FFFFFF" size="2">Bayi Sıralaması</font></td>
	    </tr>

	    <tr>
		    <td width="10%" class="t_head" align="center" height="13">&nbsp;Yıl - Ay</td>
		    <td width="6%" class="t_head" align="center" height="13">Periyod</td>
		    <td width="13%" class="t_head" align="center" height="13">Marka</td>
		    <td width="18%" class="t_head" align="center" height="13">Şebeke</td>
            <td width="15%" class="t_head" align="center" height="13">Bayi Liste Tipi</td>
		    <td width="18%" class="t_head" align="center" height="13">Kriter</td>
		    <td align="center"  class="t_head" align="center" height="13" width="17%"></td>
	    </tr>
	    <tr>
		    <td align="center"><font size="1">
		        <select size="1" name="m" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
                    <asp:Literal ID="monthSelection" runat="server" />
                </select>
		    </td>

		    <td align="center">
		    <p align="center">
		        <select size="1" name="c" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
                    <%=periodSelectionOptions%>
                </select>
            </td>
            
            <td align="center">
                
                <select onchange="selectMake();" size="1" id="make" name="make" style="width:50%;font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
                    <asp:Literal ID="makeSelection" runat="server" />
                </select>
                
            </td>            
            
		    <td align="center">
		        <select size="1" id="ct" name="ct" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
                    <asp:Literal ID="networklist" runat="server" />
                </select>
            </td>        

		    <td align="center">
		        <select size="1" id="dealerListType" name="dealerListType" style="width:180px;font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
		            <option value="all">Tüm Bayiler</option>
                    <option value="monitoredOnly">Flop Bayileri</option>
                </select>
            </td>

		    <td align="center">
		        <select runat="server" size="1" id="rankingCriteria" name="rankingCriteria" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
		            
                </select>
            </td>
            
		    <td align="center">
                <input type="submit" value="      Sırala      " name="B1" style="font-family: Tahoma; font-size: 8pt">
                <input type="reset" value="Temizle" name="B2" style="font-family: Tahoma; font-size: 8pt">
            </td>
	    </tr>
        <% if (userProjectName == Global.PROJECT_QRA) %>
        <% { %>
        <tr>
            <td class="t_head" align="right">
                Onarım Durumu: &nbsp;&nbsp;&nbsp;
            </td>
            <td colspan="6" align="left">
                <select name="flt" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF">
                    <option value="">Tümü</option>
                    <option value="QY=1">Olay yerinde onarıldı</option>
                    <option value="QY=2">Olay yerinde onarılamadı, servise çekildi</option>
                    <option value="QY=3">Olay yerinde onarılamadı, kendim servise çektim</option>
                </select>
            </td>
        </tr>
        <% } %>	    
    </table>
    <hr noshade="noshade" color="#F87878">
</form>
</body>

<script language="javascript" type="text/javascript">

    function selectMake()
    {
        ServerRequest.Execute("/jsCommand/selectMake.aspx", "POST", Array("make", g("make").value));
    }

    function removeQVNSpecificOptionsIfQVO()
    {
        if(<asp:Literal id="isQVOOrDacia" runat="server" />)
        {
            var obj = document.getElementById("ct");
            obj.options.length = 1; obj.options[0].innerHTML = "Şebeke 1: Yetkili Satıcı";
        }
    }
</script>

</html>

